
@import "./global.css";

* {
  margin: 0px;
  padding: 0px;
}



body {
  background-color: #f6f6f6;
}

header {
  position: relative;
  z-index: 100;
  min-width: 1000px;
  overflow: hidden;
  display: grid;
  width: auto;
  margin-left: -10px;
  height: 60px;
  /* border: tomato 1px solid; */
  background-color: #c62f2f;
  grid-template-columns: 6fr 9fr 11fr 8fr;
  column-gap: 20px;
  align-items: center;
	
	.inner {
	  height: 60px;
	  display: flex;
	  align-items: center;
		.logo {
		  display: flex;
		  align-items: center;
		  margin-left: 80px;
		  width: 270px;
		}
	}
	
	
}





header .inner .logo .logobox {
  margin-top: 6px;
  float: left;
  width: 220px;

}

header .inner .logo p {
  font-family: yrd;
  font-size: 30px;
  color: white;
}

header .inner .navigate {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
	.box {
		cursor: pointer;
	  width: 60px;
		margin: 0rem 1.25rem;
	  text-align: center;
	  font-size: 25px;
	  color: white;
	  font-weight: inherit;
	  letter-spacing: 2px;
	}
	.box:hover{
		color: #d6d6d6; 
	}
	.box-select{
		font-weight: 900;
		border-bottom: #fff solid 4px;
	}
}

header .inner .searchbox {
  /* border: blue 2px solid; */
  width: 400px;
  display: flex;
  align-items: center;
  margin-left: 10px;
}

header .inner .searchbox .searchbg {
  background-color: #a82828;
  width: 370px;
  height: 40px;
  color: black;
  border-radius: 20px;
}

header .inner .searchbox .hover {
  position: absolute;
  margin-right: 1px;
}

header .inner .searchbox .hover button {
  margin-top: 3px;
  margin-left: 8px;
  /* outline:none;  */
  position: absolute;
  border: none;
  background: none;
  width: 25px;
  height: 25px;
  background-image: url(../static/img/search.png);
  background-size: 100% 100%;
}

header .inner .searchbox input {
  float: left;
  margin-left: 20px;
  width: 300px;
  height: 30px;
  background-color: #a82828;
  border: 0px;
  outline: none;
  font-size: 17px;
  letter-spacing: 2px;
  color: white;
  font-weight: 200;
}
header .inner .searchbox input::-webkit-input-placeholder {
  color: #c67171;
  font-size: 17px;
}

header .inner .usercontrol {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
	.loginBtn{
		cursor: pointer;
		background-color: #c74242;
		width: 80px;
		height: 40px;
		border-radius: 5px;
		border: solid #e7e7e7 2px;
		color: #fff;
		display: flex;
		.btnText{
			margin: auto;
			font-weight: 900;
		}
	}
}

header .inner .usercontrol .avatar {
	cursor: pointer;
  margin: 0px 2px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
	.dropBox{
		animation: drop 0.3s;
		display: none;
		background-color: #ffffff;
		border-radius: 10%;
		border: solid #ebebeb 3px;
		cursor: default;
		position: fixed;
		transform:translateX(-35%) translateY(-5%);
		-webkit-transform: translateX(-35%) translateY(-5%);
		width: 140px;
		min-height: 90px; 
		margin-top: 160px; 
		z-index: 10;
		ul li{
			list-style: none;
			font-family: "microsoft yahei";
			font-weight: 900;
			margin: auto;
			cursor: pointer;

		}
		ul li:hover{
			color: #cb1313;
		}
	}
}

header .inner .usercontrol .avatar:hover{
	cursor: pointer;
	margin: 0px 2px;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	.dropBox{
		background-color: #ffffff;
		border-radius: 10%;
		border: solid #ebebeb 3px;
		display: block;
		cursor: default;
		position: fixed;
		transform:translateX(-35%) translateY(-5%);
		-webkit-transform: translateX(-35%) translateY(-5%);
		margin-top: 160px; 
		z-index: 10;
		ul {
			display: flex;
		}
		ul li{
			font-family: "microsoft yahei";
			font-weight: 900;
			margin: auto;
			cursor: pointer;
			list-style: none;
		}
		ul li:hover{
			color: #cb1313;
		}
	}
}


header .inner .usercontrol .alarm {
  margin: 0px 2px;
  display: flex;
  padding-left: 5px;
  align-items: center;
}

header .inner .usercontrol .msg {
  margin: 0px 2px;
  width: 50px;
  height: 50px;
  /* border: blue 2px solid; */
  display: flex;
  align-items: center;
}

.container {
  display: flex;
  margin-top: 10px;
	padding: 0px 200px;
  section {
    float: left;
    width: 830px;
    box-shadow: 1px 1px 1px 1px silver;
    // background-color: blueviolet;
    // margin-left: 200px;

    .head {
      width: auto;
      height: 60px;
      background-color: white;
      display: grid;
      border: #f0f2f7 1px solid;
      border-top: none;
      border-left: none;
      border-right: none;
      grid-template-columns: 90px 90px 90px;
      .box {
				cursor: pointer;
				width: 3.125rem;
				margin-left: 1.25rem;
        display: flex;
        justify-content: center;
        font-size: large;
        align-items: center;
        font-weight: 600;
        // border: black 1px solid;
        height: 60px;
      }
			.box:hover{
				color: #fd3b3b;
			}
    }

    .containbox {
      width: 830px;
      background-color: white;
      display: flex;
      align-items: center;
      flex-flow: column;

      .card {
        // border: black 1px solid;
        width: 830px;
        min-height: 100px;
        display: flex;
        // align-items: center;
        justify-content: center;

        .drawarea {
          // border: black 1px solid;
          margin: 20px;
          width: 830px;

          .top {
            display: flex;

            // border: black 1px solid;
            .avatar {
              border-radius: 20px;
              width: 40px;
              height: 40px;
            }

            .nickname {
              height: 40px;
              display: flex;
              justify-content: center;
              align-items: center;
              font-size: 20px;
              margin-left: 10px;
              // border: black 1px solid;
            }
          }

          .content {
            // height: 110px;
            margin-top: 9px;
            border: #d0cece 1.5px solid;
            border-radius: 5px;
          }

          .actions {
            display: flex;
            font-family: iconfont;
            height: 40px;
						justify-content:space-between
						
          }
					
					.commentbox{
						animation:1s dropComment forwards;
						border: #d0d0d0 1px solid;
						padding-bottom: 10px;
						.title{
							margin: 10px 20px;
							font-weight: 600;
							font-size: 17px;
						}
						.subTitle{
							background-color: #f6f6f6;
							padding: 10px 20px;
							font-weight: 600;
							color: #808080;
							font-size: 16px;
						}
						.commentList{
							font-size: smaller;

							.c-userinfo{
								display: flex;
								padding: 10px;
								.avatar{
									
								}
								.username{
									margin: auto;
									margin-left: 10px;
								}
							}
							.c-context{
								margin-left: 50px;
							}
							.c-control{
								margin-left: 50px;
								
							}
						}
					
						.writeComment{
							display: flex;
							margin-top: 15px;
							width: 100%;
							border-top:#dfdfdf solid 2px;
							input{
								margin-left: 16px;
								margin-top: 15px;
								margin-bottom: 5px;
								padding-left: 15px;
								width: 666px;
								height: 40px;
								border-radius: 5px;
								border:#929cb0 solid 2px;
								outline: none;
								font-size: 17px;
								color: #929cb0;
								font-weight: 200;
							}
							input::-webkit-input-placeholder {
							  color: #7d8596;
							  font-size: 16px;
							}
							.submitCommentBtn{
								margin-left: 16px;
								margin-top: 16px;
								margin-bottom: 5px;
								width: 70px;
								border-radius:5px ;
								background-color:#e75151;
								color: #fff;
								display: flex;
								cursor: pointer;
								.sub{
									font-size: 17px;
									margin: auto;
									font-weight: 900;
								}
							}
						}
					
						.moreComment{
							display: block;
							margin-top: 10px;
							margin-left: 50px;
							font-size: smaller;
							color: #175199;
							text-decoration:underline;
							cursor: pointer;
						}
					}
        }
      }
			.no-more{
				margin-top: 30px;
				width: 750px;
				font-size: small;
				color: #6b6b6b;
				height: 50px;
				padding: auto;
			}
		}
  }

  aside {
    background-color: white;
    margin-left: 15px;
    box-shadow: 1px 1px 1px 1px silver;
    width: 350px;
    height: 320px;
		display: flex;
		flex-direction: column;
		.title{
			height: 40px;
			margin: 5px auto;
			font-size: 20px;
			font-weight: 800;
		}
		.myCommentCard{
			width: 85%;
			border-top:#d5d5d5 1px solid;
			height: 30px;
			margin: 0px auto;
			margin-top:-12px;
			display: flex;
			flex-direction: column;
			.card{
				width: 300px;
				min-height: 50px;
				border: solid #e7e7e7 1px;
				border-radius: 5px;
				margin: auto;
				margin-top: 5px;
				padding: 5px 0px;
				font-size: 15px;
				color: #515151;
				
				.context{
					width: 280px;
					padding: 5px;
					white-space:nowrap;
					overflow:hidden;
					text-overflow: ellipsis;
				}
				.delete{
					cursor: pointer;
					padding: 5px;
					color: #c62f2f;
					padding-left: 230px;
				}
			}
		}
		
  }
	
	.iconItem{
		display: none;
		z-index: 100;
		cursor: pointer;
		margin: 0.3125rem 0.625rem;
		
		display: flex;
		.icon{
			font-size: 1.25rem;
		}
		.text{
			padding: 0rem 0.3125rem;
		}
	}
	
}